<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/



Route::get('/',function(){

dump('laravel6.0');

});


Route::fallback(function () {
    ret_json('err','请求的接口不存在');
});

Route::any('/staff/{staff}',function (\App\Model\OAStaff $staff){
    dd($staff);
});


Route::get('/delTicket/{ticket}',function (\App\Model\OATicket $ticket){
    dd($ticket);
});//删除发票

Route::group(['prefix'=>'/test'],function (){
    Route::get('/captcha','TestController@index');
});
